package com.webchat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

@ServletComponentScan
@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.webchat.repository")
@EnableAsync
public class WebChatApplication {

	public static void main(String[] args) {

		SpringApplication.run(WebChatApplication.class, args);

		StringBuilder sb = new StringBuilder();
		sb.append("=======================================================================");
		sb.append("\n");
		sb.append("========================== SERVER START SUCCESS！！ ===================");
		sb.append("\n");
		sb.append("=======================================================================");
		System.out.println(sb);
	}
}
